﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Unit1session2a.aspx.vb" Inherits="gdrwebapp1.WebForm4" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    
    Unit1 Session 2a-Amend the background - BMI
    <br />
    <br />
    Put Your Height Here
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:TextBox ID="tb_height" runat="server" Height="21px" Width="71px"></asp:TextBox>
    <br />

    Put Your Weight Here
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="tb_weight" runat="server" Height="21px" Width="71px"></asp:TextBox>
    <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="Total" ErrorMessage="RangeValidator" MaximumValue="30" MinimumValue="17.5" Type="Double"></asp:RangeValidator>
<br />
    

<asp:Label ID="Label3" runat="server" Text="Total"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:TextBox ID="Total" runat="server" Height="21px" Width="73px"></asp:TextBox>

    <br />
    <asp:Label ID="Label4" runat="server" Text="Label"></asp:Label>

<br />

<asp:Button ID="Button1" runat="server" Text="Calculate BMI" />
</asp:Content>
